<template>
  <div>
    <p>遮罩层</p>
    <g-button size="normal" class="button" type="info" @click="show = true">普通按钮</g-button>
    <g-overlay v-model="show" @click="show = false" />
  </div>
</template>

<script>
export default {
  data () {
    return {
      show: true
    }
  }
}
</script>

<style>

</style>